﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Estore.ViewModels.RegisterModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Resgister</title>
    <style type="text/css">
        .style2
        {
            width: 166px;
        }
        .style3
        {
            width: 148px;
          
        }
        #register
        {
            margin-left:100px;
        }
        #btn_submit
        {
            margin-left: 150px;
            margin-top: 20px;
        }
    </style>
     <% Html.EnableClientValidation(); %>
</head>
<body>
    <div id="register">
    <form method="post" action="">
     <table style="width: 611px" >
     <tr>
     <td colspan=3>  <%: Html.ValidationSummary(true, "Tạo tài khoản không thành công. làm ơn kiểm tra lại thông tin") %></td>
   
     </tr>
  <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.User_name) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.User_name) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.User_name) %>
      </td>
  </tr>
 <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Pass_word) %></td>
    <td class="style3">
      <%: Html.PasswordFor(m=>m.Pass_word) %> 
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Pass_word) %>
      </td>
  </tr>
   <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.confirm) %></td>
    <td class="style3">
      <%: Html.PasswordFor(m => m.confirm) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.confirm) %>
      </td>
  </tr>
  <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Sex) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Sex) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Sex) %>
      </td>
  </tr>
   <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Full_name) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Full_name) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Full_name) %>
      </td>
  </tr>
   <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Address) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Address) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Address) %>
      </td>
  </tr>
   <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Email) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Email) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Email) %>
      </td>
  </tr>
  <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Phone) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Phone) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Phone) %>
      </td>
  </tr>
  <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Avarta) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Avarta) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Avarta) %>
      </td>
  </tr>
   <tr>
   <td class="style2"> <%: Html.LabelFor(m =>m.Yahoo) %></td>
    <td class="style3">
      <%: Html.TextBoxFor(m => m.Yahoo) %>
      
      </td>
      <td>
     <%: Html.ValidationMessageFor(m => m.Yahoo) %>
      </td>
  </tr>
</table>

    <div id="btn_submit">
 <input name="Register" type="submit" id="Register" value="Register" style="background:#FF6600" />
   </div>
   </form>
    </div>
</body>
</html>
